﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Shape
    {
        protected string color { get; set; }
        public virtual void GetArea()
        {
            Console.WriteLine("请输入图形颜色");
            color = Convert.ToString(Console.ReadLine());
        }
    }
}
